package cn.zqh.user.service;

import cn.zqh.bean.api.CommonResult;
import cn.zqh.bean.bo.UserPermissionConnect;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zqh
 * @since 2022-12-24
 */
public interface UserPermissionConnectService extends IService<UserPermissionConnect> {

    /**
      * @Author: zqh
      * @Date:
      * @Description: 权限赋予
    */
    CommonResult permissionGranting(String userId, Integer permissionId);
    
    
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 权限回收
    */
    CommonResult rightsRecycling(String userId, Integer permissionId);
}
